package com.lifeng.shop.lifengshop.servies;

import com.lifeng.shop.lifengshop.pojo.bo.Orderdetail;
import com.lifeng.shop.lifengshop.pojo.entry.Order;

import java.util.List;

/**
 * @author Fusion
 * @Date:2021/8/8 14:16
 **/
public interface OrderServies {
    int deleteByPrimaryKey(Order order);

    int insert(Order record);

    int insertdetail(Orderdetail order);

    int insertSelective(Order record);

    List<Order> selectByPrimaryKey(String uid);

    List<List<Orderdetail>> selectAllOrder(String uid);

    int updateByPrimaryKeySelective(Order record);

    int updateByPrimaryKey(Order record);

}
